Calling delta link on sharepoint sites do not indicate which one is deleted

Luigi Gravel 0 Reputation points
2024-04-15T21:16:05.5966667+00:00

As you can see here, as the site were deleted, it appears in the delta call but nothing indicate if this site was modified, delete or added... we have no choice but calling each site to verify if it still exists

 
{
 "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites",
 "@odata.deltaLink": "https://graph.microsoft.com/v1.0/sites/delta?token=...",
 
 "value": [
      {
            "createdDateTime": "2024-05-13T17:53:25Z",
            "id": "qodev.sharepoint.com,...",
            "name": "deleted site 4",
            "webUrl": "https://.../sites/myDeleteSite4",
            "displayName": "My deleted site 4",
            "isPersonalSite": false,
            "siteCollection": {
                "hostname": "...sharepoint.com"
            },
            "root": {}
     }
   ]
}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,873 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 400 Reputation points Microsoft Vendor
    2024-05-14T18:05:36.2133333+00:00

    Hello @Luigi Gravel ,

    As per the Microsoft documentation https://learn.microsoft.com/en-us/graph/api/site-delta?view=graph-rest-1.0&tabs=http, below is the response you get.

    User's image

    Only above information will be received in response.

    I understand that this may affect your use case. I encourage you to submit your feedback on this issue to our feedback portal: https://aka.ms/graphfeedback

    This portal is monitored by our product team, and they will consider your feedback for future improvements.

    Hope this helps. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments